﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Ord.Repository.Entities
{
    /// <summary>
    /// 包裹
    /// </summary>
    [Table("ord_OrderParcel"), Comment("包裹")]
    public class OrderParcel : EfEntity
    {
        /// <summary> 
        /// 快递公司
        /// </summary>
        [Comment("快递公司"),MaxLength(2000)]
        public string CourierCompany { get; set; }

        /// <summary> 
        /// 快递单号
        /// </summary>
        [Comment("快递单号"), MaxLength(100)]
        public string ExpressNumber { get; set; }

        /// <summary> 
        /// 快递公司编码
        /// </summary>
        [Comment("快递公司编码"), MaxLength(100)]
        public string CourierCompanyType { get; set; }

        /// <summary>
        /// 发货时间
        /// </summary>
        [Comment("发货时间")]
        public DateTime ShipmentsTime { get; set; }

        /// <summary>
        /// 是否退货包裹
        /// </summary>
        [Comment("是否退货包裹")]
        public bool IsReturn { get; set; }
    }
}
